Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding note on the use of the default * use in route authentication dependecies #325

Merged
merged 3 commits into from
Jan 30, 2025

Conversation

rhysrevans3
Copy link
Contributor

@rhysrevans3 rhysrevans3 commented Jan 7, 2025

Related Issue(s):

Description:
Using multiple authentication dependencies on a single route can cause clashes if not done correctly (merging them). This is particularly relevant to the default * route. My pull request on stac-fastapi to dynamically merge multiple dependencies was rejected and I don't think it's possible to replicate it here. So I've added a note to the dependency documentation to try to explain what to do in this case.

PR Checklist:

  • Code is formatted and linted (run pre-commit run --all-files)
  • Tests pass (run make test)
  • Documentation has been updated to reflect changes, if applicable
  • Changes are added to the changelog

Copy link
Collaborator

@jonhealy1 jonhealy1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. One small thing.

examples/auth/README.md Outdated Show resolved Hide resolved
Co-authored-by: Jonathan Healy <[email protected]>
@jonhealy1 jonhealy1 merged commit fa312c8 into stac-utils:main Jan 30, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants